home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / divo.z / divo
Encoding:
Text File  |  2002-10-03  |  12.5 KB  |  331 lines

  1.  
  2.  
  3.  
  4. DDDDIIIIVVVVOOOO((((7777))))                                                                DDDDIIIIVVVVOOOO((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      divo - DIVO Video option
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      DIVO Video is a broadcast-quality digital video option for Silicon
  13.      Graphics Onyx2 graphics supercomputers and Origin2000 servers.
  14.  
  15.      DIVO Video supports real-time input and output of video at live frame
  16.      rates, in CCIR601 broadcast video formats.
  17.  
  18.      The DIVO Video Option requires that the _d_m_e_d_i_a__e_o_e._s_w._l_i_b,
  19.      _d_m_e_d_i_a__e_o_e._s_w._b_a_s_e, and _d_i_v_o._s_w._e_o_e software subsystems be installed for
  20.      proper operation.
  21.  
  22.      DIVO Video supports video input and output using the CCIR-601 component
  23.      serial digital format.  The digital inputs and outputs each operate in
  24.      4:2:2:4 and 4:4:4:4 modes, and may include full-bandwidth alpha or key
  25.      information.
  26.  
  27.    SSSSuuuuppppppppoooorrrrtttteeeedddd TTTTiiiimmmmiiiinnnngggg VVVVaaaalllluuuueeeessss
  28.      DIVO Video supports two video timing values: 525 total lines at 59.94Hz,
  29.      and 625 total lines at 50Hz.
  30.  
  31.  
  32.      CCIR601 525
  33.           This timing uses CCIR601 specified sampling and 525 total lines.
  34.           The pixel clock rate is 13.50 MHz and the default active image
  35.           region is 720 by 486 pixels.
  36.  
  37.      CCIR601 625
  38.           This timing uses CCIR601 specified sampling and 625 total lines.
  39.           The pixel clock rate is 13.50 MHz and the default active image
  40.           region is 720 by 576 pixels.
  41.  
  42.    SSSSuuuuppppppppoooorrrrtttteeeedddd VVVViiiiddddeeeeoooo FFFFoooorrrrmmmmaaaattttssss
  43.      Digital 4:2:2:4/Digital 4:4:4:4
  44.           Each of these formats use a pair of BNC connectors in serial mode.
  45.           The two connectors are labeled "Link A" and "Link B".  In 4:2:2:4
  46.           mode, link A carries 4:2:2 YCrCb data and link B carries 0:0:4 alpha
  47.           data.  In 4:4:4:4 mode, link A carries 4:2:2 YCrCb data and link B
  48.           carries 2:2:4 CrCbA data.  Normal 4:2:2 CCIR-601 operation is a
  49.           subset of 4:2:2:4 operation.  Only the A link is used.  The system
  50.           will still process alpha internally, but it can be ignored if you
  51.           don't need it.
  52.  
  53.    IIIInnnntttteeeerrrrnnnnaaaallll CCCCoooolllloooorrrr RRRReeeepppprrrreeeesssseeeennnnttttaaaattttiiiioooonnnnssss
  54.      DIVO Video uses four components with a minimum of ten bits of precision
  55.      at all steps of its internal pipeline.  Color space conversions use
  56.      thirteen bits of intermediate precision. There are three native internal
  57.      color representations.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDIIIIVVVVOOOO((((7777))))                                                                DDDDIIIIVVVVOOOO((((7777))))
  71.  
  72.  
  73.  
  74.      RGB
  75.           Each component is represented by a 10-bit value between 0 and 1023.
  76.           Black has the value (0,0,0) and white is (1023,1023,1023).  This is
  77.           the color space used by the graphics subsystem.  It has the most
  78.           accurate representation of visible colors since all possible
  79.           combinations are legal.  This colorspace does not support superblack
  80.           or other illegal color values.  When converting to RGB each
  81.           resulting RGB component is clamped to the range [0..1023].  It is
  82.           possible to overflow the the clamping mechanism when dramatically
  83.           illegal colors are input.  For example, if the max possible (though
  84.           highly illegal) CCIR values of (1019,1019,1019) are input, the blue
  85.           component will overflow.
  86.  
  87.      YUV
  88.           This colorspace is obtained from RGB by the matrix transformation
  89.           shown below.  The U, Y and V values range from 0 to 1023.  Black has
  90.           the UYV value (512,0,512).  White has the value (512,1023,512).
  91.           This color space is used by the Betacam, M-II and YUV formats.
  92.  
  93.               | 0.500  -0.419  -0.081|   |R|   |512|   |V|
  94.               | 0.299   0.587   0.114| * |G| + | 0 | = |Y|
  95.               |-0.169  -0.331   0.500|   |B|   |512|   |U|
  96.  
  97.  
  98.      CCIR
  99.           This colorspace is obtained from RGB by the matrix transformation
  100.           shown below.  The Cr, Y and Cb values are clamped to the range 4 to
  101.           1019.  Black has the CrYCb value (512,64,512).  White has the value
  102.           (512,940,512).  This color space is normally used by the component
  103.           digital formats.
  104.  
  105.               | 0.500  -0.419  -0.081|   |R|   |896/1023|   |512|   |Cr|
  106.               | 0.299   0.587   0.114| * |G| * |876/1023| + | 64| = |Y |
  107.               |-0.169  -0.331   0.500|   |B|   |896/1023|   |512|   |Cb|
  108.  
  109.  
  110.      Color conversions may be done on each of the incoming (to memory) and
  111.      outgoing (from memory) video streams.  Conversions are only done when
  112.      required.  The colorspaces of the memory and video nodes controls
  113.      conversions.
  114.  
  115.    SSSSyyyynnnncccc aaaannnndddd GGGGeeeennnnlllloooocccckkkk
  116.      DIVO Video has flexible sync and genlock controls.  Synchronization
  117.      selection is available for the outputs only; the inputs sync only to the
  118.      sync and clock information embedded in the digital input stream.
  119.  
  120.      The video output may be configured to lock to external sync source
  121.      (genlock) or to free run (standalone).  The "Sync" control allows you to
  122.      select between one of the genlock modes, or standalone mode.  When set to
  123.      genlock, the following sync sources are available:
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDIIIIVVVVOOOO((((7777))))                                                                DDDDIIIIVVVVOOOO((((7777))))
  137.  
  138.  
  139.  
  140.      House
  141.           This choice selects the analog composite video signal present on the
  142.           connector labeled "GEN IN".  Please be sure to terminate the loop-
  143.           through connector (labeled "GEN OUT").
  144.  
  145.      Digital Input Link A/Digital Input Link B
  146.           These choices select the sync information embedded in either the
  147.           LINK A or LINK B digital input stream.  If no signal is present, the
  148.           results are unpredictable.
  149.  
  150.      Note: when house sync is selected, but the GEN IN input is not connected,
  151.      the output sync will be free running, but will not be precise.  For a
  152.      precise free-running timebase, select the standalone sync mode.
  153.  
  154.    DDDDiiiiggggiiiittttaaaallll FFFFiiiilllltttteeeerrrrssss
  155.      The alpha channel is never filtered and so is not discussed in this
  156.      section for simplicity.  Digital filters are present for interpolating
  157.      4:2:2 data to 4:4:4 and for decimating 4:4:4 data to 4:2:2. All sources
  158.      and drains on DIVO Video may operate in either 4:2:2 or 4:4:4 mode.
  159.  
  160.      Interpolating Filter
  161.           An interpolating filter is inserted into the input video stream when
  162.           input coming from the digital video input is sent to a 4:4:4
  163.           destination (in memory).  These filters only affect the chroma
  164.           components.
  165.  
  166.      Decimating Filter
  167.           A decimating filter may be inserted into the output video stream
  168.           when 4:4:4 data from memory is directed to the digital video output
  169.           in 4:2:2 format.
  170.  
  171.  
  172.    GGGGPPPPIIII IIIInnnnppppuuuuttttssss aaaannnndddd OOOOuuuuttttppppuuuuttttssss
  173.      DIVO Video has four GPI inputs (two each for video input and video
  174.      output) that may be used to trigger frame-accurate memory transfers.  It
  175.      likewise has four GPI outputs that may be used to control external video
  176.      equipment.
  177.  
  178.    FFFFiiiieeeelllldddd DDDDoooommmmiiiinnnnaaaannnncccceeee CCCCoooonnnnttttrrrroooollll
  179.      DIVO Video has controls to select field dominance at each of the video
  180.      input and output nodes.  These controls determine where the frame
  181.      boundaries are considered to occur during video input and output.  When
  182.      _F_i_e_l_d_1 dominance is selected, the frame boundaries will occur where
  183.      defined by the 525-line or 625-line video standards.  When  Field2
  184.      dominance is used, the opposite boundaries will be used.  The field
  185.      dominance controls must be taken into account whenever video is converted
  186.      between fields and frames.  The example programs _d_i_v_o__m_e_m_t_o_v_i_d,
  187.      _d_i_v_o__v_i_d_t_o_m_e_m and _d_i_v_o__v_i_d_e_o_i_n use the selected field dominance to
  188.      determine how to interlace and de-interlace video.  When _F_i_e_l_d_1 dominance
  189.      is selected, the topmost active line will be in the second field for
  190.      525-line formats and in the first field for 625-line formats.  Triggered
  191.      transfers will always begin with the field type selected by the dominance
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. DDDDIIIIVVVVOOOO((((7777))))                                                                DDDDIIIIVVVVOOOO((((7777))))
  203.  
  204.  
  205.  
  206.      control.  For example, if _F_i_e_l_d_1 dominance is selected at the video
  207.      output and the program divo_memtovid is run in triggered mode, video
  208.      display will begin at the first F2->F1 transition following the arrival
  209.      of the trigger.  Selecting _F_i_e_l_d_2 dominance will cause the transfer to
  210.      begin at the first F1->F2 transition following the trigger.
  211.  
  212.    VVVViiiiddddeeeeoooo ttttoooo////ffffrrrroooommmm DDDDiiiisssskkkk
  213.      DIVO Video does not interface with disk drives; there is no concept of a
  214.      disk node in the VL. However, since DIVO can transfer live video data to
  215.      and from memory, it is simple to create software to couple these
  216.      transfers with a disk reading or writing routine.  The _a_v_c_a_p_t_u_r_e and
  217.      _a_v_p_l_a_y_b_a_c_k programs are examples of how to do this.  They also provide
  218.      deck control.
  219.  
  220.  
  221.  
  222.      The table below lists the required minimum transfer rates in megabytes
  223.      per second, as a function of the VL_TIMING and VL_PACKING in use:
  224.  
  225.                        525_CCIR601   625_CCIR601
  226.  
  227.           RGBA_8          40.0          39.6
  228.           RGB_8           40.0          39.6
  229.           YVYU_422_8      20.0          19.8
  230.           YUV_444_8       40.0          39.6
  231.           YUVA_4444_8     40.0          39.6
  232.           ABGR_8          40.0          39.6
  233.           AUYV_8          40.0          39.6
  234.           A_2_BGR_10      40.0          39.6
  235.           A_2_UYV_10      40.0          39.6
  236.           AYU_AYV_10      40.0          39.6
  237.  
  238.  
  239.      To allow live video transfers, your disk volume must support at least the
  240.      required transfer rate. A typical SCSI drive on an Onyx2/Origin2000
  241.      transfers at roughly 6-7 MB/sec; so clearly multiple drives are required.
  242.      A single SCSI bus provides roughly 40 MB/sec; so live video transfer can
  243.      be performed using a built-in SCSI bus.
  244.  
  245.    FFFFIIIILLLLEEEESSSS
  246.      /usr/lib/X11/app-defaults/Vcp.divo*
  247.           vcp(1) X resources for DIVO boards
  248.  
  249.      /usr/dmedia/bin/DIVO/*
  250.           DIVO-specific programs and demos
  251.  
  252.      /usr/dmedia/ucode/DIVO/*
  253.           DIVO microcode and firmware
  254.  
  255.      /var/adm/crash/divofw.* and /var/adm/crash/divocore.*
  256.           crash-dump files from DIVO firmware; indicate DIVO software or
  257.           hardware defects. SGI Customer Support may ask for these if you
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. DDDDIIIIVVVVOOOO((((7777))))                                                                DDDDIIIIVVVVOOOO((((7777))))
  269.  
  270.  
  271.  
  272.           report DIVO problems.
  273.  
  274.      /usr/share/src/dmedia/video/DIVO/*
  275.           Example source code for programming DIVO.
  276.  
  277.  
  278.  
  279. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  280.      avplayback(1), avcapture(1), vcp(1), vlinfo(1), vl(3)
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.